﻿using SqlSugar;
using System;

namespace Service.DtoModel.DeskApp
{
    [SugarTable("rooms")]
    public class Room
    {
        /// <summary>
        /// 房间编号
        /// </summary>
        public int rId { get; set; }
        /// <summary>
        /// 房间名称
        /// </summary>
        public string rName { get; set; }
        /// <summary>
        /// 房间类型编号
        /// </summary>
        public int rtId { get; set; }
        /// <summary>
        /// 房间状态
        /// </summary>
        public string rtState { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string obId { get; set; }
        /// <summary>
        /// 开单时间
        /// </summary>
        public DateTime rtDate { get; set; }
        /// <summary>
        /// 消费顾客人数
        /// </summary>
        public int rtNumber { get; set; }
        /// <summary>
        /// 员工编号
        /// </summary>
        public int eId { get; set; }
        public string rtRemark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createDate { get; set; }
        /// <summary>
        /// 最后一次更新时间
        /// </summary>
        public DateTime lastUpDate { get; set; }
    }

    public class RoomsDto : Room
    {
        /// <summary>
        /// 房间类型名称
        /// </summary>
        public string rtName { get; set; }
    }
}
